cmake_minimum_required(VERSION 3.16)
project(structure)
set(CMAKE_CXX_STANDARD 11)
include_directories(
        /usr/local/include
        /usr/include)
link_directories(/usr/local/lib)


add_executable(structure main.cpp sqlist.h normal.h)
target_link_libraries(structure gtest gmock gmock_main gtest_main)


add_executable(statck_queue stack_queue.h stack_queue.cpp normal.h)
target_link_libraries(statck_queue gtest gmock gmock_main gtest_main)

add_executable(string string.h string.cpp normal.h)
target_link_libraries(string gtest gmock gmock_main gtest_main)

add_executable(array  sqlist.h array.h array.cpp normal.h)
target_link_libraries(array gtest gmock gmock_main gtest_main)

add_executable(tree  tree.h tree.cpp normal.h)
target_link_libraries(tree gtest gmock gmock_main gtest_main)

add_executable(level_m  level_m.cpp)
target_link_libraries(level_m)